package com.zgjkhis.modules.charges.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author yxl 处方，订单审核
 * @Description
 * @Date 2021/7/13 16:15
 **/
@Data
@NoArgsConstructor
public class ExpressDto {

    @NotNull(message = "ID不能为空")
    private Long id;
    @ApiModelProperty(value = "下次发货时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @NotNull(message = "下次发货时间不能为空")
    private Date nextTime;
    @ApiModelProperty(value = "下次发货原因")
    @NotNull(message = "下次发货原因不能为空")
    private String nextRemark;


}
